﻿namespace JIESHINet.IService
{
    public interface IBaseService<TEntity, TVO> where TEntity : class,new()
    {
       public Task<List<TVO>> Query();
        Task<long> Add(TEntity entity);
        Task<List<long>> AddSplit(TEntity entity);
        Task<List<TVO>> QuerySplit(System.Linq.Expressions.Expression<Func<TEntity, bool>> whereExpression, string orderByFields = null);
    }
}
